
<?php

$name1 = $_POST['basic_name1']; //giá trị của form name="basic_name1"
//connect datbase

$conn = mysql_connect('localhost', 'root', 'vertrigo');
mysql_select_db('tdc');
mysql_query("delete from staffs where'$name1'=id");
?>
<html>
    <head>
        <meta charset="UTF-8">
    </head>
    <body>
        <a href="index.php">Xóa thành công,bấm vào để quay trở lại...</a>
    </body>
</html>
<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

